package com.guigu.tms.commons.aggregation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车次信息表
 * </p>
 *
 * @author wj
 * @since 2022-10-21
 */
@TableName("pd_transport_trips")
public class TransportTrips implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "transport_trips_id", type = IdType.AUTO)
    private Integer transportTripsId;

    /**
     * 车辆编号
     */
    private Integer truckId;

    /**
     * id
     */
    private String id;

    /**
     * 车次名称
     */
    private String name;

    /**
     * 发车时间
     */
    private String departureTime;

    /**
     * 所属线路id
     */
    private String transportLineId;

    /**
     * 周期，1为天，2为周，3为月
     */
    private Integer period;

    /**
     * 状态  0：禁用   1：正常
     */
    private Integer status;

    @TableField(exist = false)
    private Long betweenTime;

    public Integer getTransportTripsId() {
        return transportTripsId;
    }

    public void setTransportTripsId(Integer transportTripsId) {
        this.transportTripsId = transportTripsId;
    }
    public Integer getTruckId() {
        return truckId;
    }

    public void setTruckId(Integer truckId) {
        this.truckId = truckId;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(String departureTime) {
        this.departureTime = departureTime;
    }
    public String getTransportLineId() {
        return transportLineId;
    }

    public void setTransportLineId(String transportLineId) {
        this.transportLineId = transportLineId;
    }
    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getBetweenTime() {
        return betweenTime;
    }

    public void setBetweenTime(Long betweenTime) {
        this.betweenTime = betweenTime;
    }

    @Override
    public String toString() {
        return "TransportTrips{" +
            "transportTripsId=" + transportTripsId +
            ", truckId=" + truckId +
            ", id=" + id +
            ", name=" + name +
            ", departureTime=" + departureTime +
            ", transportLineId=" + transportLineId +
            ", period=" + period +
            ", status=" + status +
        "}";
    }
}
